package cn.com.panda.utils;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Random;

/**
 * created by liujunlin on 2022/3/17 16:10
 */
public class OssUtils {
    /**
     * 生成oss存储文件名
     * fileExt :  .jpg
     * ossPath : p  或 search
     * @return
     */
    public static String getOssFileName(int teamId,String userId,String fileExt,String ossPath){
        String ossFileName = ossPath + "/t";
        ossFileName += teamId;
        ossFileName += "/3D/" + fileExt ;
        return ossFileName;
    }
}
